

import request from "@/utils/request";

// let domain = process.env.VUE_APP_TYPE == "http://api.pycoding.com";
let domain = process.env.VUE_APP_TYPE == "online" ? "http://api.pycoding.com" : "http://py.dev.yatiku.com";
// let domain = process.env.VUE_APP_TYPE == "online" ? "http://api.pycoding.com" : "http://192.168.88.147:8060";

/**
 * 微博授权登录（微博内打开）
 */
export let weiboLogin = params => request.post(`${domain}/coding/portal/login/weiboLogin`, params, {
  showLoading: false
});